package com.xinqi.modules.chat.chat.group.dto.req;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 群组表-请求对象
 *
 * @author: system
 * @date: 2023/01/12
 */
@Data
@Schema(description = "群组表-新增班级群")
public class ChatClassUserGroupCreateDTO implements Serializable {

    @Schema(description = "课程名")
    @NotNull(message = "{chat.group.courseName.not.blank}")
    private String courseName;

    @Schema(description = "班级名")
    @NotNull(message = "{chat.group.className.not.blank}")
    private String className;

    @Schema(description = "班级Id")
    @NotNull(message = "{chat.group.classId.not.blank}")
    private Long classId;

    @Schema(description = "群成员集合")
    private List<Long> groupUserIds;

    @Schema(description = "创建用户ID", hidden = true)
    private Long userId;
}
